package com.hdu.careerplan.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
public class FilepathConfiguration {


    public static String pyDirPath;
//    public static final String pyDirPath = "F:\\Project\\Career_Plan\\ch_cup2";


    public static String pyDirPath2;
//    public static final String pyDirPath2 = "F:\\Project\\Career_Plan\\ch_cup3";

    public static String pyDirPath3;
//    public static String pyDirPath3 = "F:\\Project\\Career_Plan\\Recommend";

    public static String pyName;

    public static String storageDirPath;

    @Value("${file-config.py-dir-path}")
    public void setPyDirPath(String pyDirPath) {
        FilepathConfiguration.pyDirPath = pyDirPath;
    }

    @Value("${file-config.py-dir-path2}")
    public void setPyDirPath2(String pyDirPath2) {
        FilepathConfiguration.pyDirPath2 = pyDirPath2;
    }

    @Value("${file-config.py-dir-path3}")
    public void setPyDirPath3(String pyDirPath3) {
        FilepathConfiguration.pyDirPath3 = pyDirPath3;
    }

    @Value("${file-config.py-name}")
    public void setPyName(String pyName) {
        FilepathConfiguration.pyName = pyName;
    }

    @Value("${file-config.storage-dir-path}")
    public void setStorageDirPath(String storageDirPath) {
        FilepathConfiguration.storageDirPath = storageDirPath;
    }
}
